package com.create.builder;
/**
 * ConcreteBuilder 具体建造者
 * @author LIUZENGLONG
 *
 */
public class ClassRoomBuilder extends Builder{
  

	public ClassRoomBuilder(){
		super.room = new Room();
	}

	public void create(){
		super.room.setName("教室");
	}

	public void addItems(){
		super.room.createItem(new Window());
		super.room.createItem(new Platform());
		super.room.createItem(new Table());
	}

	public Room builder() {
		return super.room;
	}
}
